package cn.pegasus.teamword.vo;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

public class TaskInfoVo {
	private String userid;
	private String come;
	private String createtime;
	/**
	 * @return the mobile
	 */
	public String getMobile() {
		return mobile;
	}

	/**
	 * @param mobile the mobile to set
	 */
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	/**
	 * @param createTime the createTime to set
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	private Date createTime;
	private String mobile;

	/**
	 * @return the userid
	 */
	public String getUserid() {
		return userid;
	}

	/**
	 * @param userid
	 *            the userid to set
	 */
	public void setUserid(String userid) {
		this.userid = userid;
	}

	/**
	 * @return the come
	 */
	public String getCome() {
		return come;
	}

	/**
	 * @param come
	 *            the come to set
	 */
	public void setCome(String come) {
		this.come = come;
	}

	/**
	 * @return the createtime
	 */
	public String getCreatetime() {
		return createtime;
	}

	/**
	 * @param createtime
	 *            the createtime to set
	 */
	public void setCreatetime(String createtime) {
		this.createtime = createtime;
		if(null!=createtime && !"".equals(createtime)){
			SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
			try {
				createTime = format.parse(createtime);
			} catch (ParseException e) {
				e.printStackTrace();
			}
		}
	}

	/**
	 * @return the createTime
	 */
	public Date getCreateTime() {
		return createTime;
	}

	
}
